package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.zhgd.domain.NCementMatch;
import com.ruoyi.zhgd.domain.vo.NCementMatchVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.zhgd.dto.CementMatchListDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 水稳拌和楼生产级配Mapper接口
 *
 * @author cj
 * @date 2023-10-08
 */
public interface NCementMatchMapper extends BaseMapperPlus<NCementMatchMapper, NCementMatch, NCementMatchVo> {

    @DataPermission(
        @DataColumn(key = "deptName", value = "p.dept_id")
    )
    List<CementMatchListDto> queryPages(Page page,@Param("params") Map<String, Object> params);
}
